package com.diy.sigmund.diycommon.test.controller.excel.easyexcel;

import com.alibaba.excel.annotation.ExcelProperty;
import com.alibaba.excel.annotation.format.NumberFormat;
import java.math.BigDecimal;

/**
 * @author ylm-sigmund
 * @since 2021/9/15 11:10
 */
public class ReqCustomerDailyImport {

    /**
     * 客户名称
     */
    @ExcelProperty(index = 0)
    private String customerName;

    /**
     * MIS编码
     */
    @ExcelProperty(index = 1)
    private String misCode;

    /**
     * 月度滚动额
     */
    @ExcelProperty(index = 2)
    private BigDecimal monthlyQuota;

    /**
     * 最新应收账款余额
     */
    @ExcelProperty(index = 3)
    private BigDecimal accountReceivableQuota;

    /**
     * 本月利率(年化）
     * 导入不支持类型转化
     */
    // @NumberFormat("#.##%")
    @ExcelProperty(index = 4)
    // private BigDecimal dailyInterestRate;
    private String dailyInterestRate;

    private String desc;

    public String getCustomerName() {
        return customerName;
    }

    public void setCustomerName(String customerName) {
        this.customerName = customerName;
    }

    public String getMisCode() {
        return misCode;
    }

    public void setMisCode(String misCode) {
        this.misCode = misCode;
    }

    public BigDecimal getMonthlyQuota() {
        return monthlyQuota;
    }

    public void setMonthlyQuota(BigDecimal monthlyQuota) {
        this.monthlyQuota = monthlyQuota;
    }

    public BigDecimal getAccountReceivableQuota() {
        return accountReceivableQuota;
    }

    public void setAccountReceivableQuota(BigDecimal accountReceivableQuota) {
        this.accountReceivableQuota = accountReceivableQuota;
    }

    // public BigDecimal getDailyInterestRate() {
    //     return dailyInterestRate;
    // }
    //
    // public void setDailyInterestRate(BigDecimal dailyInterestRate) {
    //     this.dailyInterestRate = dailyInterestRate;
    // }


    public String getDailyInterestRate() {
        return dailyInterestRate;
    }

    public void setDailyInterestRate(String dailyInterestRate) {
        this.dailyInterestRate = dailyInterestRate;
    }

    public String getDesc() {
        return desc;
    }

    public void setDesc(String desc) {
        this.desc = desc;
    }
}
